import java.util.Arrays;
import java.util.Collection;
import java.util.Collections;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: wwy
 * Date: 2024-05-18
 * Time: 14:39
 */
public class Test015 {
    public static void main(String[] args) {
        Integer[] arr={1,4,545,5,4};
        Arrays.sort(arr, Collections.reverseOrder());
        System.out.println(Arrays.toString(arr));
    }
}
